# https://gitee.com/yueyinqiu5990/codes-for-tj10053104/blob/master/supplement1/question10/ten_in_one.py


def count_required_tubes(count_sample: int, group_size: int = 10) -> int:
    return (count_sample + group_size - 1) // group_size


def _main():
    import random
    for c in [chr(i) for i in range(ord("A"), ord("J") + 1)]:
        sample = random.randint(1, 200)
        print("采样点", c, ":", "*" * count_required_tubes(sample), sample)


if __name__ == "__main__":
    _main()
